package Java.BlackHorse.Thread.waitANDnotify2;

import java.util.concurrent.ArrayBlockingQueue;

public class ThreadDemo {
    public static void main(String[] args) {
        ArrayBlockingQueue<String> abq = new ArrayBlockingQueue<>(1);

        Foodie f = new Foodie(abq);
        Cook c = new Cook(abq);

        f.start();
        c.start();

    }
}
